/*
 * @Author: Yilia 
 * @Date: 2021-12-27 10:58:40 
 * @Last Modified by: Yilia
 * @Last Modified time: 2021-12-30 13:17:30
 */
import React from 'react'
import MyEditor from "./my_editor.js"
import * as Constants from './constants.js'
import * as MyLanguage from './my_language.contribution.js'

export default () => {
  const jsonCode = ['{', '    "p1": "v3",', '    "p2": false', '}'].join('\n');

  // return <MyEditor
  //   languageID={Constants.languageID}
  //   languageProvider={MyLanguage.language}
  //   languageConfig={MyLanguage.conf}
  //   suggestions={Constants.suggestions()}
  //   jsonCode={jsonCode}></MyEditor>
    return <MyEditor
    languageID= 'javascript'
    languageProvider={MyLanguage.language}
      suggestions={Constants.suggestions()}
      // jsonCode={jsonCode}
      ></MyEditor>
}